Copyright: Copyright © 1997
Citation: by Skylark Software


Contents

HiEdit introductory notes

You are reading the ReadMe notes for Skylark Software's HiEdit component. It is available free of charge to use in your own personal or commercial products however, Skylark Software does retain all copyright and distribution rights. It is not released into the public domain.

This component was developed as an example for training purposes to demonstrate a simple use of inheritance, overriding existing properties and adding a few new ones. Source code is not included with this archive, however it is available by simply filling out the marketing survey found in the Registration section and e-mailing it back to us. There is no official technical support provided, but we will attempt to help you through any rough spots you run into using or understanding this component. We would appreciate any feedback you care to provide.

Please click on one of the following sections for more information.

License Agreement

Running the demonstration

Installation

Registration

HiEdit component help

Technical Support (How to contact Skylark Software)

Further study

Other products


Installation

1) Copy hiedit.dcu to your 3rd party component directory from:

Delphi 1: bin16

Delphi 2: bin32

2) Start Delphi. and select from the menu:

Delphi 1: Options | Install components...

Delphi 2: Components | Intsall new...

3) Press the Add... button.

4) Enter hiedit for the Module Name. Press OK.

5) Press OK. The library will recompile. When it is done, you will have a new component on the SkySoft tab.


Registration

The source code for the HiEdit DCU is available by simply filling out the following marketing survey and e-mailing it back to Skylark Software.

To fill this out, click on the Edit menu at the top of this window and select "Copy...". Highlight the section between the dashed lines and press the Copy button. Then go to your mail program and paste the clipboard contents into the message portion. Fill out the blanks and send to SkylarkSoftware@compuserve.com. It would help us if you placed "HiEdit registration" in the subject line. The source code will be e-mailed to you.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

User information:

Your name: 	______________________________

Company name:	______________________________

Mailing Address:	______________________________

City, State/Province	______________________________

Postal code:	______________________________

Country:	______________________________

E-mail address:	______________________________

Would you like to receive future Skylark Software product announcements via e-mail? _____

Product:	HiEdit component

Site information:

How many developers are at your location? _____

What type of software is primarily developed at this location? (Choose one)

____	For sale to multiple, outside customers

____	For a single, outside customer

____	For use by other individuals in the company

____	For your own use to assist with a non-programming job

____	For classroom use

____	For personal hobby and/or educational use

____	Other: _________________________

Software developed at this location is primarily:

____	Database related

____	Non-database related

Software developed at this location contains:

____	Video

____	Sound

____	No multimedia

Platform information:

Software developed at this location is targeted for: (Choose all that apply)

____	Win 3.x

____	Win 95

____	Win NT 3.51

____	Win NT 4.0

____	Other operating systems: ________________

Software developed at this location will be run on: (Choose all that apply)

____	286 based computers

____	386 based computers

____	486 based computers

____	Pentium based computers

____	Pentium Pro based computers

____	Other computers: ________________

Online acquisition of software:

How many developer tools have you downloaded for evaluation or use? ____

Of those downloaded, how many have you purchased? ____

Of those downloaded, how many have you not yet finished evaluating? ____

On average, what is the amount of time between download and purchase? ____

In terms of importance to you and 1 being the most important, rank the following sources of on-line information for programming products.

____	Internet usegroups

____	WWW search engines

____	Known homepages

____	America OnLine

____	CompuServe

Yes	No

____	____	Have you purchased software over the Internet using credit cards?

____	____	Have you purchased software acquired over the Internet using checks?

____	____	Have you used CompuServe's SWREG services to purchase software?

____	____	Have you used any other software registration service?

If so, what is it called? ______________________________

Do you prefer to purchase software with: (Choose one)

____	Credit card

____	Check

____	CompuServe's SWREG

____	Other: ________________

Skylark Software products and service:

Please use a scale of zero to five as defined:

0 = Unknown or No opinion	3 = Average

1 = Poor	4 = Good

2 = Marginal	5 = Exceptional

How do we rate in the following catagories?

____	Product quality

____	Product meets needs

____	Ease of installation

____	Documentation

____	Technical support

Comments:

Put any questions, comments and suggestions you want to communicate to us below.

____________________________________________________________

____________________________________________________________

____________________________________________________________

____________________________________________________________

____________________________________________________________

____________________________________________________________

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


Running the demo
Running the demonstration

Compiling the demonstration project

The demonstration project can be run without installing the component. Follow these steps to do so:

1) Start Delphi.

2) Open the demo16.dpr project if Delphi 1 or the demo32.dpr project if Delphi 2. This is found in the main directory the ZIP was extracted in.

2) Press F9 to compile and run the project.

Using the demonstration project

This demo has three HiEdit sample components with associated labels. It also has an area at the bottom of the window to change the colors of the label's text and the edit's background. These are the colors that are used when that edit field has focus. The colors specified at design time in Delphi's object inspector are used when the edit field does not have focus. Note that any or all parts of the label's entire font can be changed, not just the color and style as shown in this demo.

To change color of for either the label or edit background for any of the sample components, simply choose the desired color in the appropriate drop down list.


Technical Support

Technical support can be obtained from Skylark Software via e-mail at:

SkylarkSoftware@compuserve.com

or via regular mail at:

Skylark Software

12092 South Janice Circle

Riverton, UT 84065

USA

When requesting help, please include your name, e-mail address and a description of the problem. Please include any relevant information such as operating system, version of Delphi and detailed steps to reproduce the problem. If possible, a minimal project that demonstrates the difficulty can greatly speed the process and clarify communication.

You may also check our web-site to see if your question is answered in our Frequently Asked Questions section at:

http://ourworld.compuserve.com/homepages/SkylarkSoftware


HiEdit component help

The purpose of the HiEdit component is to allow highlighting of an Edit component when it receives focus. This is accomplished with a change of Font for an associated label and/or change of the Edit's background color. To achieve this, the HiEdit component is descended from the standard TEdit with the addition of three properties:

property LabelChange: TLabel;

This property specifies which TLabel on the form should have its font changed when focus is received.

property LabelFont: TFont;

The LabelFont property indicates what font to use for LabelChange when focus is received. Note: if you change the font style, size or name, be sure you allow enough room in your form design to allow for more space.

property ColorWhenActive: TColor;

ColorWhenActive is to assign a color for the component's background when it receives focus. Lighter colors tend to have better contrast with standard font colors.


Other products

All Skylark Software products can be found on our web page at:

http://ourworld.compuserve.com/homepages/SkylarkSoftware

If you have CompuServe access, they can also be found in the DELPHI or BDELPHI forums with a library keyword search of SkySoft.


Further study

Since the original intent of this component was for training purposes, we would be remiss in not assigning homework. The hints assume you have registered the component and have received the source code.

1)	Make a DBHiEdit component. (Hint: change one word)

2)	Add a FontWhenActive property to also change the edit's text font. (Hint: control-C/control-V)

3)	Use the Enter key to move to the next control. (Hint: override)

Bonus: Use shift-Enter to move to the previous control. (No hint, this is for bonus points!)